package o;

import androidx.annotation.NonNull;
import com.huawei.appgallery.packagemanager.api.bean.ManagerTask;
import com.huawei.appgallery.packagemanager.api.callback.IDeleteApkPolicy;

public class etg implements IDeleteApkPolicy {
    public boolean ˏ(@NonNull ManagerTask managerTask, int i) {
        return true;
    }

    public boolean ˎ(int i, @NonNull ManagerTask managerTask) {
        if (managerTask.mode == 2) {
            return true;
        }
        if (i == -4 || i == -1000001 || i == -115 || i == -10010 || i == -10009 || i == -10013 || i == -10012 || i == -10011) {
            return false;
        }
        if (!eap.ˎ().ˋ(i)) {
            return true;
        }
        eto.ˋ().ˎ(managerTask.packageName);
        return false;
    }

    public boolean ˋ(@NonNull ManagerTask managerTask) {
        return true;
    }
}
